package com.ceadeal.admin.repository;

import org.springframework.beans.factory.annotation.Autowired;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 * 功能描述: Base Repository
 *
 * 作者: Yzw
 * 日期: 2017-03-24 16:26:20
 */
public class BaseRepository {

    @Autowired
    @PersistenceContext
    private EntityManager entityManager;

    public EntityManager getEntityManager() {
        return entityManager;
    }

}
